/*
 * Triangle3D.h
 *
 *  Created on: 31.1.2013
 *      Author: Travis
 *
 *      This structure is store 3 points of triangle in 3D space
 */

#pragma once

#ifdef _WIN32 
#include <windows.h> 
#endif

#include <glm/glm.hpp>

namespace DataTypes
{

class Triangle3D
{
public:
	Triangle3D(glm::vec3 a, glm::vec3 b, glm::vec3 c);
	Triangle3D();
	virtual ~Triangle3D();

	// return normal vector of 3D triangle
	glm::vec4 NormalOfTriangle();

	//get
	glm::vec3 getA();
	glm::vec3 getB();
	glm::vec3 getC();

	//set
	void setA(glm::vec3 a);
	void setB(glm::vec3 b);
	void setC(glm::vec3 c);

private:
	glm::vec3 A, B, C;
};

}
